<?php
/**
 * File: cmsfashionistas.php.
 * Author: caoqicheng@haibao.com
 * Editor: PhpStorm
 * Date: 17/2/7 上午10:45
 * Brief:
 */
namespace haibao\jiepai\model\data\fashionista;

class CmsFashionistas extends \haibao\jiepai\model\data\Base{
	
	/**
	 * -1是，0否
	 * 是否是删除
	 */
	const FLAG_DEL = -1;
	const FLAG_IS = 0;
	
	/**
	 * 发布状态 0-未发布，1-已发布
	 */
	const STATUS_DIS = 0;
	const STATUS_IS = 1;
	
	/**
	 * 45399->男,45400->女
	 * 性别
	 */
	const GENDR_MEN = 45399;
	const GENDR_WOMEN = 45400;
	
	
	public $SecondName;
	
	public $Title;
	
	public $Gender;
	
	public $BoothPicture;
	
	public $Avatar;
	
	public $CreateTime;
	
	public $PinyinFirst;
	
	public $Pinyin;
	
	public $DevelopArea;
	
	public $DevelopArea2;
	
	public $NameChinese;
	
	public $Flag;
	
	public $NameForeign;
	
	public $HaibaoID;
	
	public $Portrait;
	
	public $BigPortrait;
	
	public $HotPoints;
	
	public $Editor;
	
	public $InstagramType;
	
	public $PublishTime;
	
	public $Status;
	
	public function __construct(){
		parent::__construct();
		$this->setColumnName('Id', 'FashionistaID');
		
		$this->intField('SecondName', 'SecondName');
		$this->intField('Title', 'Title');
		$this->intField('Gender', 'Gender');
		$this->intField('BoothPicture', 'BoothPicture');
		$this->intField('Avatar', 'Avatar');
		$this->stringField('PinyinFirst', 'PinyinFirst');
		$this->stringField('Pinyin', 'Pinyin');
		$this->intField('DevelopArea', 'DevelopArea');
		$this->intField('DevelopArea2', 'DevelopArea2');
		$this->intField('NameChinese', 'NameChinese');
		$this->intField('NameForeign', 'NameForeign');
		$this->intField('HaibaoID', 'HaibaoID');
		$this->intField('Portrait', 'Portrait');
		$this->intField('BigPortrait', 'BigPortrait');
		$this->intField('HotPoints', 'HotPoints');
		$this->intField('Editor', 'Editor');
		$this->stringField('InstagramType', 'InstagramType');
		$this->dateField('CreateTime', 'CreateTime');
		$this->dateField('PublishTime', 'PublishTime');
		$this->intField('Status', 'Status');
		$this->intField('Flag', 'Flag');
		
		$this->setTableName('cms_fashionistas');
	}
}